package httplib.GetReceivingAddressList;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import java.lang.reflect.Type;
import java.util.Map;

import httplib.BaseInput;

/**
 * Description :
 * Author : Liun
 * Date   : 2016 2016/11/23 17:02.
 * Email  : liun_coolman@foxmail.com
 */

public class ReceivingAddressListInput extends BaseInput {
    public String getMethod() {
        return "mobileapi.member.receiver";
    }
    @Override
    public Map<String, String> getData() {
        Gson gson = new Gson();
        Type type = new TypeToken<Map<String, String>>() {
        }.getType();
        return gson.fromJson(gson.toJson(this), type);
    }
}
